projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a42be0
)
Improve handling of print-to-file uri
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 28 Jun 2009 20:14:21 +0000
(16:14 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 28 Jun 2009 20:14:21 +0000
(16:14 -0400)
Going from print-to-file to a real printer and back used to nuke
an app-provided uri; now we keep the initial settings around to
avoid that. Fixes bug 587086.
gtk/gtkprintunixdialog.c
patch
|
blob
|
history
diff --git
a/gtk/gtkprintunixdialog.c
b/gtk/gtkprintunixdialog.c
index ea53e25ed50d2763fd6065ab65e35bd45a11f45f..afd7e72f1ad5bb79ca75ceaef5904d9449e03a74 100644
(file)
--- a/
gtk/gtkprintunixdialog.c
+++ b/
gtk/gtkprintunixdialog.c
@@
-1424,12
+1424,6
@@
options_changed_cb (GtkPrintUnixDialog *dialog)
schedule_idle_mark_conflicts (dialog);
- if (priv->initial_settings)
- {
- g_object_unref (priv->initial_settings);
- priv->initial_settings = NULL;
- }
-
g_free (priv->waiting_for_printer);
priv->waiting_for_printer = NULL;
}